﻿<UserControl
    x:Class="Plugins1.MVVMInspector"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Plugins1"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="349"
    d:DesignWidth="429">
    
    <Grid>
    	<VisualStateManager.VisualStateGroups>
    		<VisualStateGroup x:Name="VisualStateGroup">
    			<VisualStateGroup.Transitions>
    				<VisualTransition GeneratedDuration="0:0:0.3">
    					<VisualTransition.GeneratedEasingFunction>
    						<CircleEase/>
    					</VisualTransition.GeneratedEasingFunction>
    				</VisualTransition>
    			</VisualStateGroup.Transitions>
    			<VisualState x:Name="normal">
    				<Storyboard>
    					<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Normal" d:IsOptimized="True"/>
    				</Storyboard>
    			</VisualState>
    			<VisualState x:Name="instructions">
    				<Storyboard>
    					<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)" Storyboard.TargetName="Instructions" d:IsOptimized="True"/>
    				</Storyboard>
    			</VisualState>
    		</VisualStateGroup>
    	</VisualStateManager.VisualStateGroups>

        <Grid x:Name="Instructions">
    		<Grid.Projection>
    			<PlaneProjection RotationY="90"/>
    		</Grid.Projection>
    		<TextBlock TextWrapping="Wrap" FontSize="21.333" Margin="9,9,9,4" FontFamily="Segoe UI Light" ScrollViewer.VerticalScrollBarVisibility="Auto">
    			<Run Text="To get MVVMInspector to work, all you have to do is add a reference to your main view model locator in your App.xaml markup.  "/>
    			<LineBreak/>
    			<Run Text="We're looking for it in our code like this:"/>
    			<LineBreak/>
    			<Run FontSize="18.667" Text="Application.Current.Resources[&quot;ViewModelLocator&quot;]"/>
    			<LineBreak/>
    			<Run Text="So you should add it to App.xaml like this:"/>
    			<LineBreak/>
    			<Run FontSize="18.667" Text="&lt;mvvm:SampleVMLocator x:Key=&quot;ViewModelLocator&quot;/&gt;"/>
    		</TextBlock>
    	</Grid>
    	<Grid x:Name="Normal">
            
        </Grid>

    </Grid>
</UserControl>
